test/vpci: fix vPCI test harness to provide pci_get_pdev()
authorRoger Pau Monné <roger.pau@citrix.com>
Thu, 20 Oct 2022 14:37:15 +0000 (16:37 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 20 Oct 2022 14:37:15 +0000 (16:37 +0200)
commit1cfccd4b07dd1cf38290d930e2b687c031589db3
tree888eab8b17f821d09efe430fd3f1a4abc9b52923
parentb71419530d70d9b1f2ba524aabd27a9efe08f52f
test/vpci: fix vPCI test harness to provide pci_get_pdev()

Instead of pci_get_pdev_by_domain(), which is no longer present in the
hypervisor.

While there add parentheses around the define value.

Fixes: a37f9ea7a6 ('PCI: fold pci_get_pdev{,_by_domain}()')
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
tools/tests/vpci/emul.h